import { createApp, provide, ref } from 'vue'
import App from './App.vue'
import './index.css'
import ElementPlus from 'element-plus'
import '/node_modules/element-plus/dist/index.css'
import router from './router'
// 全局变量 用户id 和用户token
import { createPinia } from 'pinia';
const pinia = createPinia();
const app = createApp(App)

//引入echarts
import * as echarts from 'echarts'
app.config.globalProperties.$echarts = echarts


app.use(pinia);
    app.use(ElementPlus)
    app.use(router)
    app.mount('#app')
